<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Shop extends Model
{
    use SoftDeletes;

    public $table = 'shops';
    

    protected $dates = ['deleted_at'];


    public $fillable = [
        'admin_id',
        'name',
        'type',
    ];

    public function goods()
    {
        return $this->belongsTo('App\Models\Goods');
    }
}
